package com.slz3.business.module.instantMessaging.insMessaging.service;

import com.slz3.business.module.instantMessaging.insMessaging.domain.InsMessaging;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface InsMessagingService {

    InsMessaging save(InsMessaging insMessaging);

    Page<InsMessaging> page(MultiValueMap<String, String> queryParams);

    InsMessaging modify(InsMessaging insMessaging);

    Optional<InsMessaging> single(UUID uuid);

    List<InsMessaging> findAllByUuids(Iterable<UUID> uuids);

    List<InsMessaging> delete(List<InsMessaging> insMessagingList);

}
